package com.lianxian.xindong.commonres.utils;

import android.text.TextUtils;

import com.hxb.library.base.MessageEvent;
import com.hxb.library.integration.EventBusManager;
import com.lianxian.xindong.commonsdk.core.EventBusHub;

/**
 * @author: mi
 * @date: 2021/6/4
 * @description：
 */
public class UserUitls {

    public static boolean isLogin(boolean goLogin, boolean showError) {
        boolean b = !TextUtils.isEmpty("");
        if (!b && goLogin) {
            EventBusManager.getInstance().post(new MessageEvent(EventBusHub.EVENT_GO_LOGINO, showError));
        }
        return b;
    }
}
